<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>产品详情</title>
    <style media="print">
        .menu {
            display: none;
        }

    </style>
<body>
<div class="menu">
    <input type="button" value="打 印" onclick="window.print()"/><br>
    <br>
</div>
<div class="pageContent">
    <table width="100%" border="0">
        <tbody>
        <tr>
            <td style="font-size: 24px; height: 40px;" align="center">产品详情</td>
        </tr>
        <tr>
            <td>
                <table width="100%" border="1" style="border-collapse: collapse;">
                    <tbody>
                    <tr>
                        <td rowspan="7"><img
                                src="{$formData.pic}"
                                style="max-width:180px;max-height:180px;"></td>
                        <td>SKU：{$formData.sku}</td>
                        <td>售价：{$formData.price}</td>
                        <td>款式：{$formData.style_name}</td>
                        <td>是否新款：{$formData.is_new}</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>品类：{$formData.sku_type}</td>
                        <td>裁剪方式：{:arrayGet($caichuangPosition, $formData['caichuang_position'], '')}</td>
                        <td>面料种类：{$formData.a_material_name}</td>
                        <td>大烫：{:arrayGet($processLevel, $formData['off_pressing_level'], '无')}</td>
                        <td>二次工艺A-{$formData.special_process_a_name}：{:arrayGet($processLevel,
                            $formData['special_process_a_level'], '')}
                        </td>
                    </tr>
                    <tr>
                        <td>二次工艺B-{$formData.special_process_b_name}：{:arrayGet($processLevel,
                            $formData['special_process_b_level'], '')}
                        </td>
                        <td>二次工艺C-{$formData.zj_name}：{:arrayGet($processLevel, $formData['zj_level'], '')}</td>
                        <td>外发倍率：{$formData.outsource_per}</td>
                        <td>外发价格%：{$formData.outsource_perb}</td>
                        <td>加工费：{$formData.cost}</td>
                    </tr>
                    <tr>
                        <td>加工费小计：{$formData.cost_little}</td>
                        <td>加工费倍率：{$formData.cost_scale}</td>
                        <td>外发价：{$formData.outsource_price}</td>
                        <td>车位价：{$formData.chewei_price}</td>
                        <td>打边价：{$formData.sixian_price}</td>
                    </tr>
                    <tr>
                        <td>冚车价：{$formData.zhuanji_price}</td>
                        <td>专机费名称：{$formData.zj_name}</td>
                        <td>专机费数量：{$formData.zj_count}</td>
                        <td>专机费单价：{$formData.zj_unitprice}</td>
                        <td>专机费总价s：{$formData.zj_price}</td>
                    </tr>
                    <tr>
                        <td>工艺A名称：{$formData.special_process_a_name}</td>
                        <td>工艺A数量：{$formData.special_process_a_count}</td>
                        <td>工艺A单价：{$formData.special_process_a_unitprice}</td>
                        <td>工艺A总价：{$formData.special_process_a_price}</td>
                        <td>工艺B名称：{$formData.special_process_b_name}</td>
                    </tr>
                    <tr>
                        <td>工艺B数量：{$formData.special_process_b_count}</td>
                        <td>工艺B单价：{$formData.special_process_b_unitprice}</td>
                        <td>工艺B总价：{$formData.special_process_b_price}</td>
<!--                        <td>复色指定工厂：{:arrayGet($factoryKV, $formData['factory_id'], '')}</td>-->
                        <td>二次工艺工厂：{$formData.special_process_factory_name}</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            生产工艺：{$formData.process}
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            裁剪要求：{$formData.cutting_requirements}
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            车间要求：{$formData.workshop_requirements}
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            尾部要求：{$formData.tail_requirements}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%" border="1" style="border-collapse: collapse;margin-top:8px;">
                    <tbody align="center">
                    <tr>
                        <td colspan="13" align="left">
                            材料
                        </td>
                    </tr>
                    <tr>
                        <td>物料名称</td>
                        <td>物料SKU</td>
                        <td>型号</td>
                        <td>色号</td>
                        <td>颜色</td>
                        <td>客户用量</td>
                        <td>米莫用量</td>
                        <td>精准用量</td>
                        <td>纸筒</td>
                        <td>空差</td>
                        <td>客户单价</td>
                        <td>单价</td>
                        <td>客户布封</td>
                    </tr>
                    {foreach $smList as $v}
                    <tr>
                        <td>{$v['mInfo']['name']}</td>
                        <td>{$v['mInfo']['material_sku']}</td>
                        <td>{$v['mInfo']['model']}</td>
                        <td>{$v['mInfo']['colornum']}</td>
                        <td>{$v['mInfo']['color']}</td>
                        <td>{$v['customer_dosage']}</td>
                        <td>{$v['material_dosage']}</td>
                        <td>{$v['accurate_dosage']}</td>
                        <td>{$v['mInfo']['customer_weight_page']}</td>
                        <td>{$v['mInfo']['diff_length']}</td>
                        <td>{$v['customer_price']}</td>
                        <td>{$v['mInfo']['price']}</td>
                        <td>{$v['mInfo']['fabric_width']}</td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%" border="1" style="border-collapse: collapse;margin-top:8px;">
                    <tbody align="center">
                    <tr>
                        <td colspan="11" align="left">
                            部位尺码
                        </td>
                    </tr>
                    <tr>
                        <td>部位</td>
                        <td>量法</td>
                        <td>跳码尺寸</td>
                        <td>{:arrayGet($sizenameArr, 0, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 1, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 2, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 3, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 4, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 5, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 6, '请选择')}</td>
                        <td>{:arrayGet($sizenameArr, 7, '请选择')}</td>
                    </tr>
                    {foreach $partArr as $k => $v}
                    <tr>
                        <td>{:arrayGet($partList, $v, '')}</td>
                        <td>{:arrayGet($measurementArr, $k, '')}</td>
                        <td>{:arrayGet($sizeTiaoArr, $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 0, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 1, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 2, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 3, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 4, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 5, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 6, []), $k, '')}</td>
                        <td>{:arrayGet(arrayGet($sizeArr, 7, []), $k, '')}</td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>
</html>